package com.ybkj.daijia.server.event.model;

import org.springframework.context.ApplicationEvent;

public class DriverUpdateLocationEvent extends ApplicationEvent {

    /**
     *
     */
    private static final long serialVersionUID = 2930621653523446405L;

    private double lat;

    private double lng;

    private String addr;


    public DriverUpdateLocationEvent(Object source, double lat, double lng, String addr) {
        super(source);
        this.lat = lat;
        this.lng = lng;
        this.addr = addr;
    }

    public double getLat() {
        return lat;
    }

    public void setLat(double lat) {
        this.lat = lat;
    }

    public double getLng() {
        return lng;
    }

    public void setLng(double lng) {
        this.lng = lng;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }


}
